package com.jinjia.ordersys.service;

import com.jinjia.ordersys.domain.Order;
import com.jinjia.ordersys.dto.OrderDto;
import com.jinjia.ordersys.dto.QueryOrdersDTO;
import com.jinjia.ordersys.vo.AddOrderVo;
import com.jinjia.ordersys.vo.CustomerInfoVO;
import com.jinjia.ordersys.vo.QueryHistoryOrderVo;
import com.jinjia.ordersys.vo.QueryOrderVo;

import java.util.List;

/**
 * @Description:
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 2018/10/11
 * @Time: 4:51 PM
 */
public interface OrderService {

    List<OrderDto> getAllOrderDto(QueryOrderVo queryOrderVo);

    List<OrderDto> getDeleleOrderDtos(QueryOrdersDTO queryOrdersDTO);

    List<OrderDto> getStopOrderDtos(QueryOrdersDTO queryOrdersDTO);

    List<OrderDto> getAllHistoryOrdersDto(QueryHistoryOrderVo queryHistoryOrderVo);

    OrderDto getOrderDetail(Long orderId);

    Integer addOrder(AddOrderVo addOrderVo);

    Integer editOrder(AddOrderVo addOrderVo);

    Integer updateOrder(Order order);

    Integer deleteOrder(Long orderId);

    List<CustomerInfoVO> getCustomersByPersonId(Long personId);

    String printOrder(Long orderId);

}